PeachDrawing.Core
PeachDrawing.Core.RenderContext
RenderContext.GetConicGradientBrush(PaintPoint, double, PaintColor[], double[]) Method
Gets a brush that paints a conic gradient sweeping around center.
public PeachDrawing.Core.Brush GetConicGradientBrush(PeachDrawing.Core.PaintPoint center, double outerRadius, PeachDrawing.Core.PaintColor[] colors, double[] anglesRad);
Parameters
center PaintPoint
the point the gradient sweeps around
outerRadius System.Double
the radius of the circle the gradient is painted over
colors PaintColor[]
each stop’s colour, matched positionally with anglesRad
anglesRad System.Double[]
each stop’s angle, in radians clockwise from the gradient’s own starting angle